package com.syg.boot.mq.common;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author qg
 * @date
 * @version 1.0
 */
@ConfigurationProperties(
        prefix = "syg.boot.mq"
)
public class MQProperties {

    public static final String PREFIX = "syg.boot.mq";
    private boolean enabled = true;
    private String address;
    private String secretId;
    private String secretKey;
    private String signMethod = "HmacSHA256";
    private int retryTimesWhenSendFailed = 0;
    private int requestTimeoutMS = 3000;
    private String host = "localhost";
    private int port = 5672;
    private boolean errNotifyEnabled = true;
    private String errNotifyUrl;
    private boolean initSqlFlag = true;

    public MQProperties() {
    }

}
